﻿namespace EggLink.DanhengServer.Util;

/// <summary>
/// 游戏常量配置类
/// </summary>
public static class GameConstants
{
    /// <summary>星琼的材料ID（不可更改）</summary>
    public const int MATERIAL_HCOIN_ID = 1;

    /// <summary>信用点的材料ID（不可更改）</summary>
    public const int MATERIAL_COIN_ID = 2;

    /// <summary>开拓者经验ID</summary>
    public const int TRAILBLAZER_EXP_ID = 22;

    /// <summary>遗器残骸ID</summary>
    public const int RELIC_REMAINS_ID = 235;

    /// <summary>装备背包最大容量</summary>
    public const int INVENTORY_MAX_EQUIPMENT = 1500;

    /// <summary>遗器背包最大容量</summary>
    public const int INVENTORY_MAX_RELIC = 1500;

    /// <summary>材料背包最大容量</summary>
    public const int INVENTORY_MAX_MATERIAL = 2000;

    /// <summary>最大队伍数量</summary>
    public const int MAX_LINEUP_COUNT = 9;

    /// <summary>伏击战斗的buff ID</summary>
    public const int AMBUSH_BUFF_ID = 1000102;

    /// <summary>最大体力值</summary>
    public const int MAX_STAMINA = 240;

    /// <summary>最大储备体力值</summary>
    public const int MAX_STAMINA_RESERVE = 2400;

    /// <summary>体力恢复时间（秒）</summary>
    public const int STAMINA_RECOVERY_TIME = 360; // 6分钟

    /// <summary>储备体力恢复时间（秒）</summary>
    public const int STAMINA_RESERVE_RECOVERY_TIME = 1080; // 18分钟

    /// <summary>普通挑战入口ID</summary>
    public const int CHALLENGE_ENTRANCE = 100000103;

    /// <summary>剧情挑战入口ID</summary>
    public const int CHALLENGE_STORY_ENTRANCE = 102020107;

    /// <summary>首领挑战入口ID</summary>
    public const int CHALLENGE_BOSS_ENTRANCE = 1030402;

    /// <summary>世界等级提升所需等级列表</summary>
    public static readonly List<int> UpgradeWorldLevel = [20, 30, 40, 50, 60, 65];

    /// <summary>允许的模拟宇宙入口ID列表</summary>
    public static readonly List<int> AllowedChessRogueEntranceId = [8020701, 8020901, 8020401, 8020201];
}